﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GDModel.Model.Entity
{
    /// <summary>
    /// Role
    /// </summary>
    public class Role
    {
        private string m_name;
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }
        private int m_posx;
        /// <summary>
        /// 角色x方格坐标
        /// </summary>
        public int Posx
        {
            get { return m_posx; }
            set { m_posx = value; }
        }
        private int m_posy;
        /// <summary>
        /// 角色y方格坐标
        /// </summary>
        public int Posy
        {
            get { return m_posy; }
            set { m_posy = value; }
        }
        private int m_str;//力量
        /// <summary>
        /// 力量
        /// </summary>
        public int Str
        {
            get { return m_str; }
            set { m_str = value; }
        }
        private int m_dex;//敏捷
        /// <summary>
        /// 敏捷
        /// </summary>
        public int Dex
        {
            get { return m_dex; }
            set { m_dex = value; }
        }
        private int m_int;//智力
        /// <summary>
        /// 智力
        /// </summary>
        public int M_int
        {
            get { return m_int; }
            set { m_int = value; }
        }
        private int m_vit;//生命
        /// <summary>
        /// 生命
        /// </summary>
        public int Vit
        {
            get { return m_vit; }
            set { m_vit = value; }
        }
        private int m_agi;//敏捷
        /// <summary>
        /// 敏捷
        /// </summary>
        public int Agi
        {
            get { return m_agi; }
            set { m_agi = value; }
        }
        private int m_luc;//幸运
        /// <summary>
        /// 幸运
        /// </summary>
        public int Luc
        {
            get { return m_luc; }
            set { m_luc = value; }
        }
        private int m_def;//防御
        /// <summary>
        /// 防御
        /// </summary>
        public int Def
        {
            get { return m_def; }
            set { m_def = value; }
        }
        private int m_xp;
        /// <summary>
        /// 经验
        /// </summary>
        public int Xp
        {
            get { return m_xp; }
            set { m_xp = value; }
        }
        private int m_hp;

        /// <summary>
        ///血量
        /// </summary>
        public int Hp
        {
            get { return m_hp; }
            set { m_hp = value; }
        }
        private int m_mp;
        /// <summary>
        /// 魔法量
        /// </summary>
        public int Mp
        {
            get { return m_mp; }
            set { m_mp = value; }
        }

        private string m_mapid;
        /// <summary>
        /// 所在地图
        /// </summary>
        public string Mapid
        {
            get { return m_mapid; }
            set { m_mapid = value; }
        }
        private string m_avatar;
        /// <summary>
        /// 图标
        /// </summary>
        public string Avatar
        {
            get { return m_avatar; }
            set { m_avatar = value; }
        }
    }
}
